<?php
/**
 * @package SF
 * @author Shuky
 * @since v1.0
 * @version $Id: Exception.php 98 2011-03-24 15:46:36Z shukyoo@gmail.com $
 */
namespace SF;

class Exception extends \Exception
{
    public function __construct($msg = '', $code = 0, $previous = null)
    {
        parent::__construct($msg, $code, $previous);
        echo '<h1>Exception:</h1>';
        echo $this->getMessage() .'<br /><br />';
        echo $this->getFile() .' 行：'. $this->getLine();
        exit;
    }
}